/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDateTime;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;
import org.springblade.modules.admin.vo.rescue.RescuePhoneVo;
import org.springblade.modules.system.entity.Tenant;

/**
 * 实体类
 *
 * @author ysq
 * @since 2024-07-23
 */
@Data
@TableName(value = "blade_tenant_ext",autoResultMap = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "TenantExt对象", description = "TenantExt对象")
public class TenantExt extends TenantEntity {

	private static final long serialVersionUID = 1L;

	private Long id;
	/**
	* 租户表主键id
	*/
		@ApiModelProperty(value = "租户表主键id")
		private Long tenantTableId;
	/**
	* 租户名称
	*/
		@ApiModelProperty(value = "租户名称")
		private String tenantName;
	/**
	* 维保负责人
	*/
		@ApiModelProperty(value = "维保负责人")
		private String wbUser;
	/**
	* 维保负责人电话
	*/
		@ApiModelProperty(value = "维保负责人电话")
		private String wbUserPhone;
	/**
	* 救援负责人
	*/
		@ApiModelProperty(value = "救援负责人")
		private String jyUser;
	/**
	* 救援负责人电话
	*/
		@ApiModelProperty(value = "救援负责人电话")
		private String jyUserPhone;
	/**
	* 应急负责人
	*/
		@ApiModelProperty(value = "应急负责人")
		private String yjUser;
	/**
	* 应急负责人电话
	*/
		@ApiModelProperty(value = "应急负责人电话")
		private String yjUserPhone;
	/**
	* 24小时救援电话
	*/
		@ApiModelProperty(value = "24小时救援电话")
		@TableField(typeHandler = JacksonTypeHandler.class)
		private List<RescuePhoneVo> phoneAllDay;
	/**
	* 维保资质等级
	*/
		@ApiModelProperty(value = "维保资质等级")
		private String qualificationEstate;
	/**
	* 1:短期2:长期
	*/
		@ApiModelProperty(value = "1:短期2:长期")
		private Integer qualificationType;
	/**
	* 维保资质开始时间
	*/
		@ApiModelProperty(value = "维保资质开始时间")
		private LocalDateTime qualificationEstateBeginDate;
	/**
	* 维保资质结束时间
	*/
		@ApiModelProperty(value = "维保资质结束时间")
		private LocalDateTime qualificationEstateEndDate;
	/**
	* 省级区划编号
	*/
		@ApiModelProperty(value = "省级区划编号")
		private String provinceCode;
	/**
	* 省级名称
	*/
		@ApiModelProperty(value = "省级名称")
		private String provinceName;
	/**
	* 市级区划编号
	*/
		@ApiModelProperty(value = "市级区划编号")
		private String cityCode;
	/**
	* 市级名称
	*/
		@ApiModelProperty(value = "市级名称")
		private String cityName;
	/**
	* 区级区划编号
	*/
		@ApiModelProperty(value = "区级区划编号")
		private String districtCode;
	/**
	* 区级名称
	*/
		@ApiModelProperty(value = "区级名称")
		private String districtName;
	/**
	* poiId
	*/
		@ApiModelProperty(value = "poiId")
		private String poiId;
	/**
	* 生产许可证
	*/
		@ApiModelProperty(value = "生产许可证")
		@TableField(typeHandler = JacksonTypeHandler.class)
		private List<String> productionLicenceImg;


}
